package com.nicole.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: nicole
 * @Date: 2025/06/09
 * @Description: 读取项目配置文件实体类
 */

@Component
@ConfigurationProperties(prefix = "nicole")
public class ProperConfig {
    /**
     * 验证码类型
     */
    private static String captchaType;

    public static String getCaptchaType() {
        return captchaType;
    }

    public static void setCaptchaType(String captchaType) {
        ProperConfig.captchaType = captchaType;
    }
}
